package com.labichaoka.chaoka.ui.baseinfo.person;

import com.labichaoka.chaoka.entity.BaseResponse;
import com.labichaoka.chaoka.entity.FaceAuthRequest;
import com.labichaoka.chaoka.entity.FaceAuthResponse;
import com.labichaoka.chaoka.entity.SaveInformationRequest;

/**
 * Created by ruan on 2018/8/7.
 */

public interface PersonInfoInteractor {
    interface OnFinishedListener{
        void onSaveSuccessed(BaseResponse response);
        void onSaveFailed();

        void onFaceAuthSucc(FaceAuthResponse response);
        void onFaceAuthFailed();

        void onGetFaceAuthStatusSucc(FaceAuthResponse response);
        void onGetFaceAuthStatusFailed();
    }

    void saveInformation(SaveInformationRequest request,OnFinishedListener listener);
    void behavior(String actionNode);

    void faceAuth(FaceAuthRequest request,OnFinishedListener listener);
    void getFaceAuthStatus(OnFinishedListener listener);

}
